<?php
return array(
	'detailView' => array(
		'attributes' => array(
			'name',
			array(
				'class' => 'ImageAttribute',
				'name' => 'image',
				'handle' => 'fileSaver'
			),
			'link',
			array(
				'name' => 'open_type',
				'value' => Yii::app()->enum->lookup('content.target', $model->open_type)
			),
			array(
				'name' => 'cate',
				'value' => Yii::app()->enum->lookup('content.hotImage', $model->cate)
			),
		),
	),
	'_import' => array(
		array('*', 'actions.view//*'),
	),
)

?>